home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / T / TIFF Code.sit / tools.c < prev    next >
MacBinary  |  1987-12-16  |  3.9 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: tools.c

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Wed Dec 16 11:51:21 1987, modified Wed Dec 16 11:51:21 1987, creator 'MPS ', type ASCII, 3113 bytes "tools.c" , at 0xca9 526 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 74 6f 6f 6c 73 2e | 63 00 00 00 00 00 00 00 |..tools.|c.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0c 29 00 | 00 02 0e 9d ec 6a 89 9d |......).|.....j..|
|00000060| ec 6a 89 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.j......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 10 58 00 00 |........|.....X..|
|00000080| 2f 2a 20 53 74 61 6e 64 | 61 72 64 20 43 20 49 6e |/* Stand|ard C In|
|00000090| 63 6c 75 64 65 20 66 69 | 6c 65 73 20 2a 2f 0d 2f |clude fi|les */./|
|000000a0| 2a 20 23 69 6e 63 6c 75 | 64 65 20 22 43 54 79 70 |* #inclu|de "CTyp|
|000000b0| 65 2e 68 22 20 2a 2f 0d | 2f 2a 20 23 69 6e 63 6c |e.h" */.|/* #incl|
|000000c0| 75 64 65 20 22 45 72 72 | 4e 6f 2e 68 22 20 2a 2f |ude "Err|No.h" */|
|000000d0| 0d 2f 2a 20 23 69 6e 63 | 6c 75 64 65 20 22 46 43 |./* #inc|lude "FC|
|000000e0| 6e 74 6c 2e 68 22 20 2a | 2f 0d 2f 2a 20 23 69 6e |ntl.h" *|/./* #in|
|000000f0| 63 6c 75 64 65 20 22 49 | 4f 43 74 6c 2e 68 22 20 |clude "I|OCtl.h" |
|00000100| 2a 2f 0d 2f 2a 20 23 69 | 6e 63 6c 75 64 65 20 22 |*/./* #i|nclude "|
|00000110| 4d 61 74 68 2e 68 22 20 | 2a 2f 0d 2f 2a 20 23 69 |Math.h" |*/./* #i|
|00000120| 6e 63 6c 75 64 65 20 22 | 53 65 74 4a 6d 70 2e 68 |nclude "|SetJmp.h|
|00000130| 22 20 2a 2f 0d 2f 2a 20 | 23 69 6e 63 6c 75 64 65 |" */./* |#include|
|00000140| 20 22 53 69 67 6e 61 6c | 2e 68 22 20 2a 2f 0d 2f | "Signal|.h" */./|
|00000150| 2a 20 23 69 6e 63 6c 75 | 64 65 20 22 53 74 64 49 |* #inclu|de "StdI|
|00000160| 4f 2e 68 22 20 2a 2f 0d | 2f 2a 20 23 69 6e 63 6c |O.h" */.|/* #incl|
|00000170| 75 64 65 20 22 53 74 72 | 69 6e 67 2e 68 22 20 2a |ude "Str|ing.h" *|
|00000180| 2f 0d 0d 2f 2a 20 50 72 | 69 6d 61 72 79 20 49 6e |/../* Pr|imary In|
|00000190| 74 65 72 66 61 63 65 20 | 46 69 6c 65 73 20 2a 2f |terface |Files */|
|000001a0| 0d 23 69 6e 63 6c 75 64 | 65 20 22 54 79 70 65 73 |.#includ|e "Types|
|000001b0| 2e 68 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 52 65 |.h".#inc|lude "Re|
|000001c0| 73 6f 75 72 63 65 73 2e | 68 22 0d 23 69 6e 63 6c |sources.|h".#incl|
|000001d0| 75 64 65 20 22 51 75 69 | 63 6b 64 72 61 77 2e 68 |ude "Qui|ckdraw.h|
|000001e0| 22 0d 2f 2a 20 23 69 6e | 63 6c 75 64 65 20 22 57 |"./* #in|clude "W|
|000001f0| 69 6e 64 6f 77 73 2e 68 | 22 20 2a 2f 0d 2f 2a 20 |indows.h|" */./* |
|00000200| 23 69 6e 63 6c 75 64 65 | 20 22 4f 53 55 74 69 6c |#include| "OSUtil|
|00000210| 73 2e 68 22 20 2a 2f 0d | 0d 2f 2a 20 43 6f 6d 6d |s.h" */.|./* Comm|
|00000220| 6f 6e 6c 79 20 49 6e 63 | 6c 75 64 65 64 20 66 69 |only Inc|luded fi|
|00000230| 6c 65 73 20 2a 2f 0d 2f | 2a 20 23 69 6e 63 6c 75 |les */./|* #inclu|
|00000240| 64 65 20 22 54 6f 6f 6c | 55 74 69 6c 73 2e 68 22 |de "Tool|Utils.h"|
|00000250| 20 2a 2f 0d 23 69 6e 63 | 6c 75 64 65 20 22 54 65 | */.#inc|lude "Te|
|00000260| 78 74 45 64 69 74 2e 68 | 22 0d 2f 2a 20 23 69 6e |xtEdit.h|"./* #in|
|00000270| 63 6c 75 64 65 20 22 43 | 6f 6e 74 72 6f 6c 73 2e |clude "C|ontrols.|
|00000280| 68 22 20 2a 2f 0d 0d 2f | 2a 20 4f 74 68 65 72 20 |h" */../|* Other |
|00000290| 49 6e 74 65 72 66 61 63 | 65 20 66 69 6c 65 73 20 |Interfac|e files |
|000002a0| 2a 2f 0d 2f 2a 20 23 69 | 6e 63 6c 75 64 65 20 22 |*/./* #i|nclude "|
|000002b0| 41 70 70 6c 65 54 61 6c | 6b 2e 68 22 20 2a 2f 0d |AppleTal|k.h" */.|
|000002c0| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 43 75 72 |/* #incl|ude "Cur|
|000002d0| 73 6f 72 43 74 6c 2e 68 | 22 20 2a 2f 0d 2f 2a 20 |sorCtl.h|" */./* |
|000002e0| 23 69 6e 63 6c 75 64 65 | 20 22 44 65 73 6b 2e 68 |#include| "Desk.h|
|000002f0| 22 20 2a 2f 0d 2f 2a 20 | 23 69 6e 63 6c 75 64 65 |" */./* |#include|
|00000300| 20 22 44 65 73 6b 42 75 | 73 2e 68 22 20 2a 2f 0d | "DeskBu|s.h" */.|
|00000310| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 44 65 76 |/* #incl|ude "Dev|
|00000320| 69 63 65 73 2e 68 22 20 | 2a 2f 0d 23 69 6e 63 6c |ices.h" |*/.#incl|
|00000330| 75 64 65 20 22 44 69 61 | 6c 6f 67 73 2e 68 22 0d |ude "Dia|logs.h".|
|00000340| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 44 69 73 |/* #incl|ude "Dis|
|00000350| 6b 49 6e 69 74 2e 68 22 | 20 2a 2f 0d 2f 2a 20 23 |kInit.h"| */./* #|
|00000360| 69 6e 63 6c 75 64 65 20 | 22 44 69 73 6b 73 2e 68 |include |"Disks.h|
|00000370| 22 20 2a 2f 0d 2f 2a 20 | 23 69 6e 63 6c 75 64 65 |" */./* |#include|
|00000380| 20 22 45 72 72 4d 67 72 | 2e 68 22 20 2a 2f 0d 23 | "ErrMgr|.h" */.#|
|00000390| 69 6e 63 6c 75 64 65 20 | 22 45 72 72 6f 72 73 2e |include |"Errors.|
|000003a0| 68 22 0d 2f 2a 20 23 69 | 6e 63 6c 75 64 65 20 22 |h"./* #i|nclude "|
|000003b0| 45 76 65 6e 74 73 2e 68 | 22 20 2a 2f 0d 23 69 6e |Events.h|" */.#in|
|000003c0| 63 6c 75 64 65 20 22 46 | 69 6c 65 73 2e 68 22 0d |clude "F|iles.h".|
|000003d0| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 46 6f 6e |/* #incl|ude "Fon|
|000003e0| 74 73 2e 68 22 20 2a 2f | 0d 2f 2a 20 23 69 6e 63 |ts.h" */|./* #inc|
|000003f0| 6c 75 64 65 20 22 47 72 | 61 66 33 44 2e 68 22 20 |lude "Gr|af3D.h" |
|00000400| 2a 2f 0d 2f 2a 20 23 69 | 6e 63 6c 75 64 65 20 22 |*/./* #i|nclude "|
|00000410| 4c 69 73 74 73 2e 68 22 | 20 2a 2f 0d 23 69 6e 63 |Lists.h"| */.#inc|
|00000420| 6c 75 64 65 20 22 4d 65 | 6d 6f 72 79 2e 68 22 0d |lude "Me|mory.h".|
|00000430| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 4d 65 6e |/* #incl|ude "Men|
|00000440| 75 73 2e 68 22 20 2a 2f | 0d 23 69 6e 63 6c 75 64 |us.h" */|.#includ|
|00000450| 65 20 22 50 61 63 6b 61 | 67 65 73 2e 68 22 0d 2f |e "Packa|ges.h"./|
|00000460| 2a 20 23 69 6e 63 6c 75 | 64 65 20 22 50 61 6c 65 |* #inclu|de "Pale|
|00000470| 74 74 65 2e 68 22 20 2a | 2f 0d 2f 2a 20 23 69 6e |tte.h" *|/./* #in|
|00000480| 63 6c 75 64 65 20 22 50 | 65 72 66 2e 68 22 20 2a |clude "P|erf.h" *|
|00000490| 2f 0d 2f 2a 20 23 69 6e | 63 6c 75 64 65 20 22 50 |/./* #in|clude "P|
|000004a0| 69 63 6b 65 72 2e 68 22 | 20 2a 2f 0d 2f 2a 20 23 |icker.h"| */./* #|
|000004b0| 69 6e 63 6c 75 64 65 20 | 22 50 72 69 6e 74 69 6e |include |"Printin|
|000004c0| 67 2e 68 22 20 2a 2f 0d | 2f 2a 20 23 69 6e 63 6c |g.h" */.|/* #incl|
|000004d0| 75 64 65 20 22 52 65 74 | 72 61 63 65 2e 68 22 20 |ude "Ret|race.h" |
|000004e0| 2a 2f 0d 2f 2a 20 23 69 | 6e 63 6c 75 64 65 20 22 |*/./* #i|nclude "|
|000004f0| 52 4f 4d 44 65 66 73 2e | 68 22 20 2a 2f 0d 2f 2a |ROMDefs.|h" */./*|
|00000500| 20 23 69 6e 63 6c 75 64 | 65 20 22 53 41 4e 45 2e | #includ|e "SANE.|
|00000510| 68 22 20 2a 2f 0d 23 69 | 6e 63 6c 75 64 65 20 22 |h" */.#i|nclude "|
|00000520| 53 63 72 61 70 2e 68 22 | 0d 2f 2a 20 23 69 6e 63 |Scrap.h"|./* #inc|
|00000530| 6c 75 64 65 20 22 53 63 | 72 69 70 74 2e 68 22 20 |lude "Sc|ript.h" |
|00000540| 2a 2f 0d 2f 2a 20 23 69 | 6e 63 6c 75 64 65 20 22 |*/./* #i|nclude "|
|00000550| 53 43 53 49 2e 68 22 20 | 2a 2f 0d 2f 2a 20 23 69 |SCSI.h" |*/./* #i|
|00000560| 6e 63 6c 75 64 65 20 22 | 53 65 67 4c 6f 61 64 2e |nclude "|SegLoad.|
|00000570| 68 22 20 2a 2f 0d 2f 2a | 20 23 69 6e 63 6c 75 64 |h" */./*| #includ|
|00000580| 65 20 22 53 65 72 69 61 | 6c 2e 68 22 20 2a 2f 0d |e "Seria|l.h" */.|
|00000590| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 53 6c 6f |/* #incl|ude "Slo|
|000005a0| 74 73 2e 68 22 20 2a 2f | 0d 2f 2a 20 23 69 6e 63 |ts.h" */|./* #inc|
|000005b0| 6c 75 64 65 20 22 53 6f | 75 6e 64 2e 68 22 20 2a |lude "So|und.h" *|
|000005c0| 2f 0d 2f 2a 20 23 69 6e | 63 6c 75 64 65 20 22 53 |/./* #in|clude "S|
|000005d0| 74 61 72 74 2e 68 22 20 | 2a 2f 0d 2f 2a 20 23 69 |tart.h" |*/./* #i|
|000005e0| 6e 63 6c 75 64 65 20 22 | 53 74 72 69 6e 67 73 2e |nclude "|Strings.|
|000005f0| 68 22 20 2a 2f 0d 2f 2a | 20 23 69 6e 63 6c 75 64 |h" */./*| #includ|
|00000600| 65 20 22 54 69 6d 65 2e | 68 22 20 2a 2f 0d 2f 2a |e "Time.|h" */./*|
|00000610| 20 23 69 6e 63 6c 75 64 | 65 20 22 54 72 61 70 73 | #includ|e "Traps|
|00000620| 2e 68 22 20 2a 2f 0d 2f | 2a 20 23 69 6e 63 6c 75 |.h" */./|* #inclu|
|00000630| 64 65 20 22 56 61 6c 75 | 65 73 2e 68 22 20 2a 2f |de "Valu|es.h" */|
|00000640| 0d 2f 2a 20 23 69 6e 63 | 6c 75 64 65 20 22 56 61 |./* #inc|lude "Va|
|00000650| 72 41 72 67 73 2e 68 22 | 20 2a 2f 0d 2f 2a 20 23 |rArgs.h"| */./* #|
|00000660| 69 6e 63 6c 75 64 65 20 | 22 56 69 64 65 6f 2e 68 |include |"Video.h|
|00000670| 22 20 2a 2f 0d 0d 2f 2a | 20 41 70 70 6c 69 63 61 |" */../*| Applica|
|00000680| 74 69 6f 6e 2d 73 70 65 | 63 69 66 69 63 20 49 6e |tion-spe|cific In|
|00000690| 63 6c 75 64 65 20 66 69 | 6c 65 73 20 2a 2f 0d 23 |clude fi|les */.#|
|000006a0| 69 6e 63 6c 75 64 65 20 | 22 3a 3a 54 69 66 66 4c |include |"::TiffL|
|000006b0| 69 62 72 61 72 79 3a 54 | 49 46 46 4c 69 62 2e 68 |ibrary:T|IFFLib.h|
|000006c0| 22 0d 23 69 6e 63 6c 75 | 64 65 20 22 73 61 6d 70 |".#inclu|de "samp|
|000006d0| 6c 65 2e 68 22 0d 23 69 | 6e 63 6c 75 64 65 20 22 |le.h".#i|nclude "|
|000006e0| 6d 65 73 73 61 67 65 73 | 2e 68 22 0d 0d 73 74 72 |messages|.h"..str|
|000006f0| 75 63 74 20 7b 0d 09 75 | 6e 73 69 67 6e 65 64 20 |uct {..u|nsigned |
|00000700| 63 68 61 72 20 6c 65 6e | 67 74 68 3b 0d 09 75 6e |char len|gth;..un|
|00000710| 73 69 67 6e 65 64 20 63 | 68 61 72 20 74 65 78 74 |signed c|har text|
|00000720| 5b 31 5d 3b 0d 7d 20 6e | 6f 53 74 72 69 6e 67 20 |[1];.} n|oString |
|00000730| 3d 20 7b 0d 09 30 2c 0d | 09 22 22 0d 7d 3b 0d 0d |= {..0,.|."".};..|
|00000740| 76 6f 69 64 20 45 72 72 | 6f 72 4d 65 73 73 61 67 |void Err|orMessag|
|00000750| 65 28 73 74 72 69 6e 67 | 52 65 73 6f 75 72 63 65 |e(string|Resource|
|00000760| 49 44 29 0d 49 6e 74 31 | 36 20 73 74 72 69 6e 67 |ID).Int1|6 string|
|00000770| 52 65 73 6f 75 72 63 65 | 49 44 3b 0d 7b 0d 09 48 |Resource|ID;.{..H|
|00000780| 61 6e 64 6c 65 20 73 74 | 72 48 61 6e 64 6c 65 3b |andle st|rHandle;|
|00000790| 0d 09 0d 09 73 74 72 48 | 61 6e 64 6c 65 20 3d 20 |....strH|andle = |
|000007a0| 47 65 74 52 65 73 6f 75 | 72 63 65 28 27 53 54 52 |GetResou|rce('STR|
|000007b0| 20 27 2c 20 73 74 72 69 | 6e 67 52 65 73 6f 75 72 | ', stri|ngResour|
|000007c0| 63 65 49 44 29 3b 0d 09 | 69 66 20 28 52 65 73 45 |ceID);..|if (ResE|
|000007d0| 72 72 6f 72 28 29 20 21 | 3d 20 6e 6f 45 72 72 29 |rror() !|= noErr)|
|000007e0| 0d 09 09 72 65 74 75 72 | 6e 3b 0d 09 69 66 20 28 |...retur|n;..if (|
|000007f0| 73 74 72 48 61 6e 64 6c | 65 20 3d 3d 20 6e 69 6c |strHandl|e == nil|
|00000800| 29 20 7b 0d 09 09 4c 6f | 61 64 52 65 73 6f 75 72 |) {...Lo|adResour|
|00000810| 63 65 28 73 74 72 48 61 | 6e 64 6c 65 29 3b 0d 09 |ce(strHa|ndle);..|
|00000820| 09 69 66 20 28 52 65 73 | 45 72 72 6f 72 28 29 20 |.if (Res|Error() |
|00000830| 21 3d 20 6e 6f 45 72 72 | 29 0d 09 09 09 72 65 74 |!= noErr|)....ret|
|00000840| 75 72 6e 3b 0d 09 7d 0d | 09 48 4c 6f 63 6b 28 73 |urn;..}.|.HLock(s|
|00000850| 74 72 48 61 6e 64 6c 65 | 29 3b 0d 09 50 41 52 41 |trHandle|);..PARA|
|00000860| 4d 54 45 58 54 28 26 28 | 2a 2a 73 74 72 48 61 6e |MTEXT(&(|**strHan|
|00000870| 64 6c 65 29 2c 20 26 6e | 6f 53 74 72 69 6e 67 2c |dle), &n|oString,|
|00000880| 20 26 6e 6f 53 74 72 69 | 6e 67 2c 20 26 6e 6f 53 | &noStri|ng, &noS|
|00000890| 74 72 69 6e 67 29 3b 0d | 09 48 55 6e 6c 6f 63 6b |tring);.|.HUnlock|
|000008a0| 28 73 74 72 48 61 6e 64 | 6c 65 29 3b 0d 09 41 6c |(strHand|le);..Al|
|000008b0| 65 72 74 28 45 52 52 4f | 52 41 4c 45 52 54 2c 20 |ert(ERRO|RALERT, |
|000008c0| 6e 69 6c 29 3b 0d 7d 0d | 0d 50 74 72 20 4d 79 4e |nil);.}.|.Ptr MyN|
|000008d0| 65 77 50 74 72 28 73 69 | 7a 65 29 0d 49 6e 74 33 |ewPtr(si|ze).Int3|
|000008e0| 32 20 73 69 7a 65 3b 0d | 7b 0d 09 50 74 72 20 70 |2 size;.|{..Ptr p|
|000008f0| 3b 0d 09 70 20 3d 20 4e | 65 77 50 74 72 28 73 69 |;..p = N|ewPtr(si|
|00000900| 7a 65 29 3b 0d 09 69 66 | 20 28 4d 65 6d 45 72 72 |ze);..if| (MemErr|
|00000910| 6f 72 28 29 20 21 3d 20 | 6e 6f 45 72 72 29 20 7b |or() != |noErr) {|
|00000920| 0d 09 09 45 72 72 6f 72 | 4d 65 73 73 61 67 65 28 |...Error|Message(|
|00000930| 42 41 44 4d 45 4d 4f 52 | 59 29 3b 0d 09 09 70 20 |BADMEMOR|Y);...p |
|00000940| 3d 20 6e 69 6c 3b 0d 09 | 7d 0d 09 72 65 74 75 72 |= nil;..|}..retur|
|00000950| 6e 28 70 29 3b 0d 7d 0d | 0d 48 61 6e 64 6c 65 20 |n(p);.}.|.Handle |
|00000960| 4d 79 4e 65 77 48 61 6e | 64 6c 65 28 73 69 7a 65 |MyNewHan|dle(size|
|00000970| 29 0d 49 6e 74 33 32 20 | 73 69 7a 65 3b 0d 7b 0d |).Int32 |size;.{.|
|00000980| 09 48 61 6e 64 6c 65 20 | 70 3b 0d 09 70 20 3d 20 |.Handle |p;..p = |
|00000990| 4e 65 77 48 61 6e 64 6c | 65 28 73 69 7a 65 29 3b |NewHandl|e(size);|
|000009a0| 0d 09 69 66 20 28 4d 65 | 6d 45 72 72 6f 72 28 29 |..if (Me|mError()|
|000009b0| 20 21 3d 20 6e 6f 45 72 | 72 29 20 7b 0d 09 09 45 | != noEr|r) {...E|
|000009c0| 72 72 6f 72 4d 65 73 73 | 61 67 65 28 42 41 44 4d |rrorMess|age(BADM|
|000009d0| 45 4d 4f 52 59 29 3b 0d | 09 09 70 20 3d 20 6e 69 |EMORY);.|..p = ni|
|000009e0| 6c 3b 0d 09 7d 0d 09 72 | 65 74 75 72 6e 28 70 29 |l;..}..r|eturn(p)|
|000009f0| 3b 0d 7d 0d 0d 76 6f 69 | 64 20 4d 79 44 69 73 70 |;.}..voi|d MyDisp|
|00000a00| 6f 73 50 74 72 28 70 50 | 74 72 29 0d 50 74 72 20 |osPtr(pP|tr).Ptr |
|00000a10| 2a 70 50 74 72 3b 0d 7b | 0d 09 69 66 20 28 2a 70 |*pPtr;.{|..if (*p|
|00000a20| 50 74 72 20 21 3d 20 6e | 69 6c 29 0d 09 09 44 69 |Ptr != n|il)...Di|
|00000a30| 73 70 6f 73 50 74 72 28 | 2a 70 50 74 72 29 3b 0d |sposPtr(|*pPtr);.|
|00000a40| 09 2a 70 50 74 72 20 3d | 20 6e 69 6c 3b 0d 7d 0d |.*pPtr =| nil;.}.|
|00000a50| 0d 76 6f 69 64 20 4d 79 | 44 69 73 70 6f 73 48 61 |.void My|DisposHa|
|00000a60| 6e 64 6c 65 28 70 48 61 | 6e 64 6c 65 29 0d 50 74 |ndle(pHa|ndle).Pt|
|00000a70| 72 20 2a 70 48 61 6e 64 | 6c 65 3b 0d 7b 0d 09 69 |r *pHand|le;.{..i|
|00000a80| 66 20 28 2a 70 48 61 6e | 64 6c 65 20 21 3d 20 6e |f (*pHan|dle != n|
|00000a90| 69 6c 29 0d 09 09 44 69 | 73 70 6f 73 50 74 72 28 |il)...Di|sposPtr(|
|00000aa0| 2a 70 48 61 6e 64 6c 65 | 29 3b 0d 09 2a 70 48 61 |*pHandle|);..*pHa|
|00000ab0| 6e 64 6c 65 20 3d 20 6e | 69 6c 3b 0d 7d 0d 0d 23 |ndle = n|il;.}..#|
|00000ac0| 69 66 64 65 66 20 44 45 | 42 55 47 0d 76 6f 69 64 |ifdef DE|BUG.void|
|00000ad0| 20 44 65 62 75 67 4d 65 | 73 73 61 67 65 28 70 46 | DebugMe|ssage(pF|
|00000ae0| 6f 72 6d 61 74 2c 20 61 | 72 67 30 2c 20 61 72 67 |ormat, a|rg0, arg|
|00000af0| 31 2c 20 61 72 67 32 2c | 20 61 72 67 33 2c 20 61 |1, arg2,| arg3, a|
|00000b00| 72 67 34 2c 20 61 72 67 | 35 2c 20 61 72 67 36 2c |rg4, arg|5, arg6,|
|00000b10| 20 61 72 67 37 29 0d 72 | 65 67 69 73 74 65 72 20 | arg7).r|egister |
|00000b20| 63 68 61 72 20 2a 70 46 | 6f 72 6d 61 74 3b 09 09 |char *pF|ormat;..|
|00000b30| 09 09 2f 2a 20 70 6f 69 | 6e 74 65 72 20 74 6f 20 |../* poi|nter to |
|00000b40| 70 72 69 6e 74 66 20 66 | 6f 72 6d 61 74 20 73 74 |printf f|ormat st|
|00000b50| 72 69 6e 67 20 2a 2f 0d | 6c 6f 6e 67 20 61 72 67 |ring */.|long arg|
|00000b60| 30 2c 20 61 72 67 31 2c | 20 61 72 67 32 2c 20 61 |0, arg1,| arg2, a|
|00000b70| 72 67 33 2c 20 61 72 67 | 34 2c 20 61 72 67 35 2c |rg3, arg|4, arg5,|
|00000b80| 20 61 72 67 36 2c 20 61 | 72 67 37 3b 0d 7b 0d 09 | arg6, a|rg7;.{..|
|00000b90| 72 65 67 69 73 74 65 72 | 20 63 68 61 72 20 2a 70 |register| char *p|
|00000ba0| 3b 0d 09 72 65 67 69 73 | 74 65 72 20 69 6e 74 20 |;..regis|ter int |
|00000bb0| 69 3b 0d 09 73 74 61 74 | 69 63 20 53 74 72 32 35 |i;..stat|ic Str25|
|00000bc0| 35 20 44 62 67 53 74 72 | 69 6e 67 3b 0d 09 0d 09 |5 DbgStr|ing;....|
|00000bd0| 73 70 72 69 6e 74 66 28 | 44 62 67 53 74 72 69 6e |sprintf(|DbgStrin|
|00000be0| 67 2e 74 65 78 74 2c 20 | 70 46 6f 72 6d 61 74 2c |g.text, |pFormat,|
|00000bf0| 20 61 72 67 30 2c 20 61 | 72 67 31 2c 20 61 72 67 | arg0, a|rg1, arg|
|00000c00| 32 2c 20 61 72 67 33 2c | 20 61 72 67 34 2c 20 61 |2, arg3,| arg4, a|
|00000c10| 72 67 35 2c 20 61 72 67 | 36 2c 20 61 72 67 37 29 |rg5, arg|6, arg7)|
|00000c20| 3b 0d 09 44 62 67 53 74 | 72 69 6e 67 2e 6c 65 6e |;..DbgSt|ring.len|
|00000c30| 67 74 68 20 3d 20 73 74 | 72 6c 65 6e 28 44 62 67 |gth = st|rlen(Dbg|
|00000c40| 53 74 72 69 6e 67 2e 74 | 65 78 74 29 3b 0d 09 50 |String.t|ext);..P|
|00000c50| 41 52 41 4d 54 45 58 54 | 28 26 44 62 67 53 74 72 |ARAMTEXT|(&DbgStr|
|00000c60| 69 6e 67 2c 20 26 6e 6f | 53 74 72 69 6e 67 2c 20 |ing, &no|String, |
|00000c70| 26 6e 6f 53 74 72 69 6e | 67 2c 20 26 6e 6f 53 74 |&noStrin|g, &noSt|
|00000c80| 72 69 6e 67 29 3b 0d 09 | 41 6c 65 72 74 28 45 52 |ring);..|Alert(ER|
|00000c90| 52 4f 52 41 4c 45 52 54 | 2c 20 6e 69 6c 29 3b 0d |RORALERT|, nil);.|
|00000ca0| 7d 0d 23 65 6e 64 69 66 | 0d 00 00 00 00 00 00 00 |}.#endif|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 d0 | 00 00 00 d0 00 00 00 3e |........|.......>|
|00000d10| 60 00 00 7e 2f 0a 48 6e | ff ee 4e ad 17 5a 60 00 |`..~/.Hn|..N..Z`.|
|00000d20| 00 6c 20 0b 66 10 2f 0a | 48 6e ff ee 4e ad 17 4a |.l .f./.|Hn..N..J|
|00000d30| 07 74 6f 6f 6c 73 2e 63 | 02 00 00 00 50 61 72 74 |.tools.c|....Part|
|00000d40| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 69 42 |SITx....|......iB|
|00000d50| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 a9 80 21 31 00 00 | 00 00 00 00 02 0e 00 01 |....!1..|........|
|00000d80| 00 81 2f 2b 00 50 2f 0b | 4e ad 13 1a 42 ae ff f8 |../+.P/.|N...B...|
|00000d90| 2f 2e ff ee 4e ad 08 b2 | 4a ad fa 9c 67 08 48 78 |/...N...|J...g.Hx|
|00000da0| 00 04 4e ba f7 08 20 2e | ff f8 4c ee 0c 0c ff dc |..N... .|..L.....|
|00000db0| 4e 5e 4e 75 c5 44 46 41 | 43 43 45 53 4e 56 ff fc |N^Nu.DFA|CCESNV..|
|00000dc0| 48 e7 30 20 24 6e 00 08 | 24 2e 00 0c 42 43 20 6a |H.0 $n..|$...BC j|
|00000dd0| 00 08 20 50 20 68 00 0e | 48 6e ff fc 2f 28 00 0c |.. P h..|Hn../(..|
|00000de0| 2f 28 00 12 30 28 00 10 | 48 c0 2f 00 4e ba ea c0 |/(..0(..|H./.N...|
|00000df0| 4a 80 66 2e 20 6e ff fc | 2f 10 4e ad 05 52 0c 80 |J.f. n..|/.N..R..|
|00000e00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 2a 2f 0d |...H..Mo|naco.*/.|
|00000e10| 2f 2a 20 23 69 6e 63 6c | 75 64 65 20 22 45 72 72 |/* #incl|ude "Err|
|00000e20| 4e 6f 2e 68 22 20 00 06 | 00 04 00 34 00 18 01 4e |No.h" ..|...4...N|
|00000e30| 01 f8 00 34 00 18 01 4e | 01 f8 9d ec 24 39 00 00 |...4...N|....$9..|
|00000e40| 06 1f 00 00 06 1f 00 00 | 05 8e 01 00 00 00 00 80 |........|........|
|00000e50| 00 06 00 00 06 c5 00 00 | 06 d1 0d 45 72 72 6f 72 |........|...Error|
|00000e60| 4d 65 73 73 61 67 65 00 | 00 00 08 4d 00 00 08 55 |Message.|...M...U|
|00000e70| 09 4d 79 4e 65 77 50 74 | 72 00 00 00 08 e0 00 00 |.MyNewPt|r.......|
|00000e80| 08 eb 0b 4d 79 4e 65 77 | 48 61 6e 64 6c 65 00 00 |...MyNew|Handle..|
|00000e90| 09 7a 00 00 09 85 0b 4d | 79 44 69 73 70 6f 73 50 |.z.....M|yDisposP|
|00000ea0| 74 72 00 00 09 d6 00 00 | 09 e4 0f 4d 79 44 69 73 |tr......|...MyDis|
|00000eb0| 70 6f 73 48 61 6e 64 6c | 65 00 00 00 0a 51 00 00 |posHandl|e....Q..|
|00000ec0| 0a 5d 0d 44 65 62 75 67 | 4d 65 73 73 61 67 65 00 |.].Debug|Message.|
|00000ed0| 00 00 01 00 00 00 01 d0 | 00 00 00 d0 00 00 00 3e |........|.......>|
|00000ee0| 00 01 65 68 06 9e 00 00 | 00 1c 00 3e 00 00 4d 50 |..eh....|...>..MP|
|00000ef0| 53 52 00 01 00 0a 03 ed | ff ff 00 00 00 00 00 00 |SR......|........|
|00000f00| 00 00 03 ef ff ff 00 00 | 00 4c 00 02 67 8a 00 00 |........|.L..g...|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+